Knowledge-based configuration